package besta.moon.sql.expression.function.numeric;

import besta.moon.sql.parser.SQLTokenizer;
import besta.moon.sql.expression.function.FunctionReturnFloat;

public final class FunctionPI extends FunctionReturnFloat {

    @Override
    public final int getFunction() {
        return SQLTokenizer.PI;
    }

    @Override
    public boolean isNull() throws Exception {
        return false;
    }

    @Override
    public final double getDouble() throws Exception {
        return Math.PI;
    }
}
